package com.easyboot.web.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName sys_role
 */
public class SysRole implements Serializable {
        /**
         *
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        @TableId(value = "id",type = IdType.INPUT)
        private Long id;

        /**
         * 角色名称
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private String roleName;

        /**
         * 角色编码
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private String roleCode="";

        /**
         * 排序
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private Integer roleSort=0;

        /**
         * 超管(1:是，0:不是)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private Integer roleSuper=0;

        /**
         * 角色状态(0:正常，1:禁用)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private Integer roleStatus=0;

        /**
         * 创建人
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private String createPerson;

        /**
         * 创建时间
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private Date createTime;

        /**
         * 备注
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private String remark;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table sys_role
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        private static final long serialVersionUID = 1L;

        /**
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public Long getId() {
            return id;
        }

        /**
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setId(Long id) {
            this.id = id;
        }

        /**
         * 角色名称
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public String getRoleName() {
            return roleName;
        }

        /**
         * 角色名称
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        /**
         * 角色编码
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public String getRoleCode() {
            return roleCode;
        }

        /**
         * 角色编码
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRoleCode(String roleCode) {
            this.roleCode = roleCode;
        }

        /**
         * 排序
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public Integer getRoleSort() {
            return roleSort;
        }

        /**
         * 排序
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRoleSort(Integer roleSort) {
            this.roleSort = roleSort;
        }

        /**
         * 超管(1:是，0:不是)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public Integer getRoleSuper() {
            return roleSuper;
        }

        /**
         * 超管(1:是，0:不是)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRoleSuper(Integer roleSuper) {
            this.roleSuper = roleSuper;
        }

        /**
         * 角色状态(0:正常，1:禁用)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public Integer getRoleStatus() {
            return roleStatus;
        }

        /**
         * 角色状态(0:正常，1:禁用)
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRoleStatus(Integer roleStatus) {
            this.roleStatus = roleStatus;
        }

        /**
         * 创建人
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public String getCreatePerson() {
            return createPerson;
        }

        /**
         * 创建人
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setCreatePerson(String createPerson) {
            this.createPerson = createPerson;
        }

        /**
         * 创建时间
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public Date getCreateTime() {
            return createTime;
        }

        /**
         * 创建时间
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }

        /**
         * 备注
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public String getRemark() {
            return remark;
        }

        /**
         * 备注
         *
         * @mbg.generated Tue Feb 02 10:26:40 CST 2021
         */
        public void setRemark(String remark) {
            this.remark = remark;
        }
    }
